package com.example.yyjc.domain.countryanalyze;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.apache.ibatis.type.Alias;

/**
 * @ClassName CountryToponeShopMsg
 * @Description TODO
 * @Author lvyongwei
 * @Date 2021-02-02 10:30
 **/
@Data
@Alias("countryToponeShopMsg")
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class CountryToponeShopMsg extends BaseRowModel {

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Integer id;

    /**
     * 商品图片
     */
    @ExcelProperty(value = "商品图片")
    @ColumnWidth(value = 15)
    private String goodsPhoto;

    /**
     * 商品标题
     */
    @ExcelProperty(value = "商品标题")
    @ColumnWidth(value = 15)
    private String goodsTitle;

    /**
     * 价格
     */
    @ExcelProperty(value = "价格")
    private Double price;

    /**
     * sku
     */
    @ExcelProperty(value = "sku")
    private Integer sku;

    /**
     * 库存
     */
    @ExcelProperty(value = "库存")
    private Integer repertory;

    /**
     * 总销量
     */
    @ExcelProperty(value = "总销量")
    private Integer totalSalesVolume;

    /**
     * 总销售额
     */
    @ExcelProperty(value = "总销售额")
    @ColumnWidth(value = 15)
    private Double totalSales;

    /**
     * 收藏
     */
    @ExcelProperty(value = "收藏")
    private Integer collect;

    /**
     * 评价数
     */
    @ExcelProperty(value = "评价数")
    private Integer evaluate;

    /**
     * 商铺名称
     */
    @ExcelProperty(value = "店铺名称")
    @ColumnWidth(value = 15)
    private String shopName;
}
